package learn_design_patterns.c5.chocolate;

public class ChocolateController {
	
	public static void main(String[] args) {
		ChocolateBoiler boiler = ChocolateBoiler.getInstance();
		boiler.fill();
		boiler.boil();
//		boiler.drain();
//		boiler.boil();
		
		ChocolateBoiler boiler2 = ChocolateBoiler.getInstance();
		boiler2.drain();
		boiler2.boil();
	}

}
